<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>
		<script>
			axios({
				baseURL:"http://localhost:8080",
				url:"/users",
				method:"post",
				// 自定义请求头
				headers: {'X-token': 'token'},
				//将对象属性拼接到地址栏做为参数传递 
				/* params:{
					page:1,
					pageSize:10
					} */
				 data:{
					page:1,
					pageSize:10
				} 
			});
		</script>
		<!-- <script>
			axios.post("/users",{page:1,pageSize:10},{baseURL:"http://localhost:8080"})
		</script> -->
	</head>
	<body>
	</body>
</html>